@import url(https://fonts.googleapis.com/css?family=Gochi+Hand);

/* * {
    margin: 0;
    padding: 0;
} */

body {
    background-color: #F7D3C1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Gochi Hand', cursive;
    color: #494a4b;
    text-align: center;
    font-size: 130%;
}

.container {
    min-width: 250px;
    max-width: 500px;
    min-height: 500px;
    background-color: #f1f5f8;
    box-shadow: 4px 3px 7px 2px #000;
    /* 阴影 */
    border-radius: 20px;
    padding: 1rem;
    /* 1rem表示相对于跟标签的字体大小大小(html标签默认字体大小为16px) */
    box-sizing: border-box;
    background-image: radial-gradient(#bfc0c1 7.2%, transparent 0);
    /* 背景图片 */
    background-size: 25px 25px;
    /* 黑点大小 */
}

.heading {
    margin-bottom: 1rem;
}

.heading_title {
    padding: 0.2rem 1.2rem;
    background-color: lightpink;
    border-radius: 20% 5% 20% 5% / 5% 20% 25% 20%;

    /* border-top-left-radius: 20% 5%; */
    /* 左上：水平20%，垂直5% */
    /* border-top-right-radius: 5% 20%; */
    /* 右上：水平5%，垂直20% */
    /* border-bottom-right-radius: 20% 25%; */
    /* 右下：水平20%，垂直25% */
    /* border-bottom-left-radius: 5% 20%; */
    /* 左下：水平5%，垂直20% */

    display: inline-block;
    transform: rotate(3deg);
    /* 旋转倾斜  默认绕z轴旋转 */
}

.form_label {
    display: block;
    /* 设置为块级 */
    margin-bottom: 0.5rem;
}

.form_input {
    box-sizing: border-box;
    background-color: transparent;
    /* 透明背景色 */
    padding: 0.7rem;
    border: 3px solid transparent;
    /* solid 表示实线 */
    border-bottom-right-radius: 15px 3px;
    border-bottom-left-radius: 3px 15px;
    border-bottom: dashed 3px #95a9ea;
    /* dashed 表示虚线 */
    font-family: 'Gochi Hand', cursive;
    font-size: 1rem;
    color: rgba(63, 62, 65, 0.7);
    width: 70%;
    margin-bottom: 20px;
}

.form_input:focus {
    outline: none;
    /* 将其原有的边框干掉 */
    border: 3px solid #95a9ea;
}

/* form_input:focus表示输入框被聚焦时的样式 */

.button {
    padding: 0;
    border: none;
    /* 干掉按钮原有的边框 */
    font-family: 'Gochi Hand', cursive;
    padding-bottom: 3px;
    background-image: url('data: image/gif;base64,R0lGODlhBAAEAIABAAAAAAAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjEgNjQuMTQwOTQ5LCAyMDEwLzEyLzA3LTEwOjU3OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1LjEgV2luZG93cyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NUY1OENCRDdDMDYxMUUyOTEzMEE1MEM5QzM0NDVBMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NUY1OENCRTdDMDYxMUUyOTEzMEE1MEM5QzM0NDVBMyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjk1RjU4Q0JCN0MwNjExRTI5MTMwQTUwQzlDMzQ0NUEzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjk1RjU4Q0JDN0MwNjExRTI5MTMwQTUwQzlDMzQ0NUEzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAAAQAsAAAAAAQABAAAAgYEEpdoeQUAOw==');
    border-radius: 5px;
    box-shadow: 0px 2px 0px #494a4b;
    background-color: rgba(0, 119, 255, 0.7);
    transform: rotate(4deg);
    /* 添加动画 */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}

.button span {
    background-color: #f1f5f8;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 2px solid #494a4b
}

/* 按钮的伪类 */
/* :active表示点着不放的状态
:focus表示点击一下的状态 这两个通常一起用 */
.button:active,
button:focus {
    padding-bottom: 0;
    outline: 0;
    transform: rotate(0deg);
}

.todo-list {
    text-align: left;
}

.todo-list li {
    padding: 0.5rem;

}

/* :hover表示鼠标放上去不点时的状态 */
.todo-list li:hover {
    text-decoration: line-through wavy red;
    /* 添加下划线 line-through行穿整个文字 wavy波浪线 */
}